.class public Lcom/instagram/android/people/b/m;
.super Lcom/instagram/android/fragment/d;
.source "PhotosOfYouFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/fragment/d",
        "<",
        "Lcom/instagram/android/people/a/a;",
        ">;"
    }
.end annotation


# instance fields
.field private ad:Ljava/lang/String;

.field private ae:Ljava/lang/String;

.field private af:Z

.field private ag:Z

.field private ah:Lcom/facebook/b/a/k;

.field private ai:Lcom/facebook/b/a/j;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 35
    invoke-direct {p0}, Lcom/instagram/android/fragment/d;-><init>()V

    .line 49
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/android/people/b/m;->ag:Z

    .line 203
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/people/b/m;ZLcom/instagram/android/fragment/o;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 35
    invoke-virtual {p0, p1, p2}, Lcom/instagram/android/people/b/m;->a(ZLcom/instagram/android/fragment/o;)V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/people/b/m;)Z
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-boolean v0, p0, Lcom/instagram/android/people/b/m;->af:Z

    return v0
.end method

.method static synthetic a(Lcom/instagram/android/people/b/m;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 35
    iput-boolean p1, p0, Lcom/instagram/android/people/b/m;->ag:Z

    return p1
.end method

.method private al()V
    .locals 4

    .prologue
    .line 136
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getEmptyView()Landroid/view/View;

    move-result-object v0

    if-nez v0, :cond_1

    .line 137
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    sget v2, Lcom/facebook/ax;->photos_of_you_empty:I

    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->v()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v0, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 140
    sget v0, Lcom/facebook/aw;->photos_of_you_empty_body:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 141
    iget-boolean v2, p0, Lcom/instagram/android/people/b/m;->af:Z

    if-nez v2, :cond_0

    .line 142
    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 144
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->v()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 145
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setEmptyView(Landroid/view/View;)V

    .line 147
    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/people/b/m;)Z
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-boolean v0, p0, Lcom/instagram/android/people/b/m;->ag:Z

    return v0
.end method

.method static synthetic c(Lcom/instagram/android/people/b/m;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 35
    iget-object v0, p0, Lcom/instagram/android/people/b/m;->ae:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d(Lcom/instagram/android/people/b/m;)V
    .locals 0
    .parameter

    .prologue
    .line 35
    invoke-direct {p0}, Lcom/instagram/android/people/b/m;->al()V

    return-void
.end method


# virtual methods
.method protected synthetic Z()Lcom/instagram/android/feed/a/a;
    .locals 1

    .prologue
    .line 35
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->ak()Lcom/instagram/android/people/a/a;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 156
    new-instance v0, Lcom/instagram/android/people/b/o;

    invoke-direct {v0, p0}, Lcom/instagram/android/people/b/o;-><init>(Lcom/instagram/android/people/b/m;)V

    return-object v0
.end method

.method protected a(Lcom/instagram/android/d/j/f;)Lcom/instagram/android/d/e/s;
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/f",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)",
            "Lcom/instagram/android/d/e/s;"
        }
    .end annotation

    .prologue
    .line 126
    new-instance v0, Lcom/instagram/android/d/e/y;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/instagram/android/people/b/m;->ad:Ljava/lang/String;

    invoke-direct {v0, p0, v1, p1, v2}, Lcom/instagram/android/d/e/y;-><init>(Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;Ljava/lang/String;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 55
    invoke-super {p0, p1}, Lcom/instagram/android/fragment/d;->a(Landroid/os/Bundle;)V

    .line 57
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "user_id"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/people/b/m;->ad:Ljava/lang/String;

    .line 58
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "username"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/people/b/m;->ae:Ljava/lang/String;

    .line 59
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/people/b/m;->ad:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/instagram/android/people/b/m;->af:Z

    .line 61
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/people/a/a;

    iget-boolean v1, p0, Lcom/instagram/android/people/b/m;->af:Z

    invoke-virtual {v0, v1}, Lcom/instagram/android/people/a/a;->a(Z)V

    .line 63
    new-instance v0, Lcom/facebook/b/a/k;

    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/facebook/b/a/k;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/instagram/android/people/b/m;->ah:Lcom/facebook/b/a/k;

    .line 64
    iget-object v0, p0, Lcom/instagram/android/people/b/m;->ah:Lcom/facebook/b/a/k;

    invoke-virtual {v0}, Lcom/facebook/b/a/k;->a()Lcom/facebook/b/a/i;

    move-result-object v0

    const-string v1, "com.instagram.android.people.fragment.PhotosOfYouFragment.PHOTOS_OF_YOU_UPDATED"

    new-instance v2, Lcom/instagram/android/people/b/n;

    invoke-direct {v2, p0}, Lcom/instagram/android/people/b/n;-><init>(Lcom/instagram/android/people/b/m;)V

    invoke-interface {v0, v1, v2}, Lcom/facebook/b/a/i;->a(Ljava/lang/String;Lcom/facebook/d/a;)Lcom/facebook/b/a/i;

    move-result-object v0

    invoke-interface {v0}, Lcom/facebook/b/a/i;->a()Lcom/facebook/b/a/j;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/people/b/m;->ai:Lcom/facebook/b/a/j;

    .line 72
    iget-object v0, p0, Lcom/instagram/android/people/b/m;->ai:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->b()V

    .line 74
    const/4 v0, 0x1

    new-instance v1, Lcom/instagram/android/people/b/q;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/instagram/android/people/b/q;-><init>(Lcom/instagram/android/people/b/m;Lcom/instagram/android/people/b/n;)V

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/people/b/m;->a(ZLcom/instagram/android/fragment/o;)V

    .line 75
    return-void
.end method

.method public a(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 85
    invoke-super {p0, p1, p2}, Lcom/instagram/android/fragment/d;->a(Landroid/view/View;Landroid/os/Bundle;)V

    .line 87
    iget-boolean v0, p0, Lcom/instagram/android/people/b/m;->ag:Z

    if-eqz v0, :cond_1

    .line 88
    invoke-direct {p0}, Lcom/instagram/android/people/b/m;->al()V

    .line 95
    :cond_0
    :goto_0
    return-void

    .line 90
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/people/a/a;

    invoke-virtual {v0}, Lcom/instagram/android/people/a/a;->m()Z

    move-result v0

    if-nez v0, :cond_0

    .line 92
    const/4 v0, 0x1

    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->v()Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/widget/s;->a(ZLandroid/view/View;)V

    goto :goto_0
.end method

.method protected a(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 131
    const-string v0, "src"

    const-string v1, "tagged"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 132
    const-string v0, "userId"

    iget-object v1, p0, Lcom/instagram/android/people/b/m;->ad:Ljava/lang/String;

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 133
    return-void
.end method

.method protected aa()Lcom/instagram/android/feed/a/i;
    .locals 1

    .prologue
    .line 109
    sget-object v0, Lcom/instagram/android/feed/a/i;->b:Lcom/instagram/android/feed/a/i;

    return-object v0
.end method

.method protected ah()Z
    .locals 1

    .prologue
    .line 115
    const/4 v0, 0x0

    return v0
.end method

.method protected ak()Lcom/instagram/android/people/a/a;
    .locals 2

    .prologue
    .line 120
    new-instance v0, Lcom/instagram/android/people/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/people/b/m;->aa()Lcom/instagram/android/feed/a/i;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/people/a/a;-><init>(Lcom/instagram/android/fragment/d;Lcom/instagram/android/feed/a/i;)V

    return-object v0
.end method

.method public c()V
    .locals 3

    .prologue
    .line 151
    const/4 v0, 0x0

    new-instance v1, Lcom/instagram/android/people/b/q;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/instagram/android/people/b/q;-><init>(Lcom/instagram/android/people/b/m;Lcom/instagram/android/people/b/n;)V

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/people/b/m;->a(ZLcom/instagram/android/fragment/o;)V

    .line 152
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 228
    const-string v0, "feed_photos_of_you"

    return-object v0
.end method

.method public w()V
    .locals 3

    .prologue
    .line 99
    invoke-super {p0}, Lcom/instagram/android/fragment/d;->w()V

    .line 102
    new-instance v0, Landroid/content/Intent;

    const-string v1, "SelfFragment.BROADCAST_NEW_PHOTOS_OF_YOU"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 103
    const-string v1, "SelfFragment.EXTRA_BROADCAST_NEW_PHOTOS_OF_YOU_COUNT"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 104
    iget-object v1, p0, Lcom/instagram/android/people/b/m;->ah:Lcom/facebook/b/a/k;

    invoke-virtual {v1, v0}, Lcom/facebook/b/a/k;->a(Landroid/content/Intent;)V

    .line 105
    return-void
.end method

.method public y()V
    .locals 1

    .prologue
    .line 79
    iget-object v0, p0, Lcom/instagram/android/people/b/m;->ai:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->c()V

    .line 80
    invoke-super {p0}, Lcom/instagram/android/fragment/d;->y()V

    .line 81
    return-void
.end method
